package adder

func Add() func(val int) int {
	sum := 0
	return func(val int) int {
		sum += val
		return sum
	}
}
